package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 下单表
 *
 * @author Michael Chow
 * @date   2020/11/14
 */
@Table(name = "t_order_device")
public class OrderDevice implements Serializable {
    /**
     * 
     */
    @Id
    private Integer id;

    /**
     * 购买的设备的ID
     */
    private Integer did;

    /**
     * 农场组织ID
     */
    private Integer cid;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 金额
     */
    private Integer money;

    /**
     * 订单状态(0未发货1已发货2已送达)
     */
    private String orderStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
}